from django.conf.urls.static import static
from django.urls import path, re_path
from django.views.static import serve

from AssetCountingSystem import settings
from AssetCountingSystem.local_settings import MEDIA_ROOT
from SystemApp import views
urlpatterns = [

    path('',views.index),
    path('layout/',views.layout),
    path('look/',views.look),
    path("del/", views.deletes),
    path('edits/<int:nid>/',views.edits),
    re_path(r'look/(?P<path>.*)$', serve, {'document_root': MEDIA_ROOT}),
]